package cn.xspace.module.other.http.req;

import com.xspace.android.xafcommon.network.message.ARequestMsg;
import com.xspace.android.xafcommon.util.Constants;
import com.xspace.android.xafcommon.util.LogUtils;


/**
 * 
 * @ClassName: QueryUserInfoReq
 * @author:mawen
 * @Date：2014-3-3
 * @version V1.0.0
 * @Description: 查询用户账号信息
 */
public class QueryUserInfoReq extends ARequestMsg {
	public String accountID;
	public String deptid;
	public String app_id;
	@Override
	public String getURL() {
		LogUtils.d("QueryUserInfo==>" + Constants.URL_QUERY_USERINFO);
		return Constants.URL_QUERY_USERINFO;
	}

	@Override
	protected byte[] toBytes() {
		String value = "{\"uuid\":\"" + accountID + "\",\"deptid\":\""+deptid+ "\",\"app_id\":\""+app_id+"\"}";
		LogUtils.d("QueryUserInfo==>" + value);
		return value.getBytes();
	}

	/*
	 * <p>Title: toJson</p> <p>Description: </p>
	 * 
	 * @return
	 * 
	 * @see com.xspace.android.xafcommon.network.message.ARequestMsg#toJson()
	 */
	@Override
	protected String toJson() {
		return null;
	}

}
